package com.sugon.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 车间级月度KPI值,主要为PM完成率和PM延期率两个维度实体
 * 表名 ERMS_KPI_WORKSHOP
 *
 * @author sugon
 * @date 2021-03-24 18:53:33
 */
@NoArgsConstructor
@Data
public class ErmsKpiWorkshopEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 创建日期
     */
    private Date gmtCreate;
    /**
     * KPI值
     */
    private Double value;
    /**
     * 月度
     */
    private String monthly;
    /**
     * KPI维度
     */
    private String target;
    /**
     * 设备组织ID
     */
    private String organizationId;
    /**
     * $column.comments
     */
    private String id;

    public ErmsKpiWorkshopEntity(String organizationId, String target, String monthly, Double value) {
        this.value = value;
        this.monthly = monthly;
        this.target = target;
        this.organizationId = organizationId;
    }

}
